package com.lagou.edu.anno;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(ElementType.FIELD)  //使用范围-属性
@Retention(RUNTIME)
public @interface MyAutowired {

    boolean byType() default true;

    String value() default "";



}
